package com.cheap.common.enums;

/**
 * 通用状态
 */
public enum ComStatusEmun {

    GOOD(1, "正常"),
    BAD(2, "下架停用");
    /**
     * 状态码
     */
    private final int code;

    /**
     * 信息
     */
    private final String message;

    ComStatusEmun (int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
